home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD>
- <TITLE>Exposing Page Elements in IE4</TITLE>
- </HEAD>
-
- <BODY BGCOLOR=white>
- <BLOCKQUOTE>
-
- <IMG NAME=arrow SRC="arrow.gif" ALIGN=left>
-
- <DIV ID=banner STYLE="position: absolute; left: 72; top: 15;">
- <FONT FACE="Arial, Helvetica" SIZE=+2>
- Exposing Page Elements in IE4
- </FONT>
- </DIV>
-
- <BR><BR>
- <P>The <TT>DIV</TT> element is reflected as both
- <TT>document.all['banner']</TT> and <TT>document.all.banner</TT> in
- IE4. Its reflected attributes include:</P>
-
- <BLOCKQUOTE>
- <SCRIPT>
- document.writeln("<B>tagName:</B> " + document.all['banner'].tagName +
- "<BR>");
- document.writeln("<B>id:</B> " + document.all.banner.id + "<BR>");
- </SCRIPT>
- </BLOCKQUOTE>
-
- <P>The <TT>IMG</TT> element is reflected as <TT>document.arrow</TT>,
- <TT>document.all.arrow</TT>, <TT>document.all['arrow']</TT> and
- <TT>document.images['arrow']</TT> in IE4. Its reflected attributes
- include:</P>
-
- <BLOCKQUOTE>
- <SCRIPT>
- document.writeln("<B>tagName:</B> " + document.all['arrow'].tagName +
- "<BR>");
- document.writeln("<B>name:</B> " + document.images['arrow'].name +
- "<BR>");
- document.writeln("<B>src:</B> " + document.all.arrow.src + "<BR>");
- </SCRIPT>
- </BLOCKQUOTE>
-
- <P>The <TT>FONT</TT> element is reflected as <TT>document.all[7]</TT>
- in IE4. Its reflected attributes include:</P>
-
- <BLOCKQUOTE>
- <SCRIPT>
- document.writeln("<B>tagName:</B> " + document.all[7].tagName + "<BR>");
- document.writeln("<B>size:</B> " + document.all[7].size + "<BR>");
- document.writeln("<B>face:</B> " + document.all[7].face + "<BR>");
- </SCRIPT>
- </BLOCKQUOTE>
-
- </BLOCKQUOTE>
- </BODY>
- </HTML>
-